home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 June: Reference Library / Dev.CD Jun 99 RL Disk 1.toast / Technical Documentation / Macintosh Technotes and Q&As / technotes / tn / tn_1028.pdd < prev    next >
Encoding:
Text File  |  1998-04-27  |  47.1 KB  |  877 lines  |  [TEXT/R*ch]

  1. π"ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  2. √°"ó•ó•#
  3. n°#
  4. ÿÜÿÜnÔ, Palatino
  5. .+B ªª
  6. *U›*¢T E C H N O T E :*Inside Macintosh:*QuickDraw GX Series Addenda  
  7. *KBy Ingrid Kellyªª*   * 'Apple Developer Technical Support (DTS)*'This Technote discusses addenda to the )“%Inside Macintosh: QuickDraw GX Series)¶.(’BJThis Note is intended for Macintosh QuickDraw GX developers who are using * 6any version of QuickDraw GX up to and including 1.1.3.ªª,     Helvetica
  8. *Topics
  9. *2Addendum to QuickDraw GX Environment and Utilities
  10. *¥
  11. )GX Gestalt Versions)ü
  12. February 1996ªª
  13. ('B Addendum to QuickDraw GX Objects
  14. *¥ ,:H
  15. Letter Gothic:H
  16. )GXGetShapeClipType
  17. ü)V )œ
  18. February 1996ªª
  19. (WB7Addenda to QuickDraw GX Printing Extensions and Drivers ‡Œ
  20. °##
  21. ÿÜÿÜÔ(
  22. #     ÿÑÿø
  23. ^##¡¶@ªª \ÿÿ /
  24. ÿÜÿÜÔ"
  25.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*1)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  26. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  27. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  28. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  29. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  30. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  31. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  32. √°"ó•ó• √
  33. √°# ‡x
  34. n°#
  35. ÿÜÿÜnÔ, Palatino
  36. .+B    ¥
  37. ) Post Script Render Options )ü
  38. February 1996
  39. (!B¥,:H
  40. Letter Gothic:H
  41. )GXSetupPageImageData
  42. ˘)` message)˛
  43. February 1996
  44. (9B¥:H
  45. )GXPostScriptEjectPendingPage
  46. )Ω message)u
  47. February 1996
  48. (QB¥:H
  49. )GXHandleAltDestination
  50. 4)j message)‚
  51. February 1996
  52. (iB¥
  53. )The Alternate Destination (':H
  54. )≠dsta
  55. ¸) ') resource)g
  56. February 1996
  57. (™B¥
  58. )The Custom Halftone Matrix (':H
  59. )‘dmat
  60. ¸) ') resource)]
  61. February 1996
  62. (˙B¥
  63. )The Manual Feed Preferences (':H
  64. )Ÿmfpr
  65. ¸) ') resource)\
  66. February 1996
  67. (±B¥
  68. )The Desktop Printer Output (':H
  69. )Ωoutp
  70. ¸) ') resource)b
  71. February 1996
  72. (ÉB¥
  73. )Change Default DTP (':H
  74. )hpfpr
  75. ¸)') Apple Event)™
  76. February 1996ªª,     Helvetica
  77. (áB"Addenda to QuickDraw GX Typography
  78. *¥:H
  79. ) GXGetLayoutJustificationGap
  80. :)≠ )t
  81. February 1996
  82. (B¥ :H
  83. ) GXGetLayoutJustificationFactors
  84. r) )a
  85. February 1996
  86. ()B¥ :H
  87. ) GXGetFontDefaultFeatures
  88. February 199633ÿÿ
  89. (])Addendum to QuickDraw GX Environment and *    Utilitiesªª
  90. * GX Gestalt Versions
  91. +BJTo determine the current version of QuickDraw GX in general, you call the * NGestalt functions with the various gestalt selectors as outlined on p. 1-4 of (”ΔInside (≤B1Macintosh: QuickDraw GX Environment and Utilities)ó.) The function returns a (ÊBNvalue indicating the version of QuickDraw GX printing/graphics/etc. currently * installed. *%This is how the QuickDraw GX gestalt )”':H
  92. )qdgx
  93. ¸)' ¸)works:(úBmajor revision)rminor revision)lrevision stage( B0000)r00)l00(B:Table 1 shows you version gestalt values for QuickDraw GX.
  94.     *)Table 1   Gestalt values for QuickDraw GX
  95. *':H
  96. )qdgx
  97. ¸)' 
  98.     ¸)Value   GX Version
  99. (`C
  100. 0x00010000)MGX 1.0 ‡Œ
  101. °##
  102. ÿÜÿÜÔ
  103. (
  104. #     ÿÑÿø
  105. ^##¡¶@ªª \ÿÿ /
  106. ÿÜÿÜÔ"
  107.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*2)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  108. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  109. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  110. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  111. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  112. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  113. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(
  114. H    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  115. √°"ó•ó• 
  116. ˘°# ú›
  117. n°#
  118. ÿÜÿÜnÔ, Palatino
  119. .+C    
  120. 0x00010001)MGX 1.0.1(C
  121. 0x00010002)MGX 1.0.2(!C
  122. 0x00010100)MGX 1.1(-C
  123. 0x00010101)MGX 1.1.1(9C
  124. 0x00010102)MGX 1.1.2(EC
  125. 0x00010103)MGX 1.1.333ÿÿ
  126. (§ Addendum to QuickDraw GX Objectsªª,     Helvetica
  127. *4GXGetShapeClipType
  128. +B
  129. You can use the ,:H
  130. Letter Gothic:H
  131. )FGXGetShapeClipType
  132. ü)V/ function to retrieve the clip shape type that (ôBa shape is being clipped to. :H
  133. +.gxShapeType GXGetShapeClipType(gxShape source)
  134. *source)CBA reference to the shape you want to examine the clip property of.(`Cfunction result)C#A reference to the clip shape type.
  135. (≈ DESCRIPTION
  136. +BLThis function is used to determine just the clip shape and eliminates three * Pexpensive steps that were necessary in QuickDraw GX 1.0 to get this information.*OThe clip shape, which you specify using the clip parameter, may be a geometric * Pshape, a bitmap shape, or a glyph shape. In the current implementation , it may * (not be a picture, text, or layout shape.*T¥ If you specify a geometric shape, it must be in primitive form ‹ that is, all the * Lstylistic information about the shape must be incorporated into the shape's * Ngeometry ‹ because this function copies only the geometry-related information * Ofrom the shape  you specify. It does not copy the information contained in the * Gshape's style. You can convert a shape to its primitive form using the :H
  137. * GXPrimitiveShape
  138. `)M! function, which is described in `)ŸInside Macintosh: QuickDraw ()B GX Graphics):9. You can also specify an empty or full shape for a clip.(;BN¥ If you specify a bitmap shape, it must have a pixel size of 1 and its color * profile reference must be :H
  139. )pnil
  140. ê)4. In the bitmap, pixel values of 0 obscure drawing; (SB-pixel values of 1 do not restrict visibility.*N¥ If you specify a glyph shape, this funciton uses information form the glyph  ‡Œ
  141. °##
  142. ÿÜÿÜÔ
  143. (
  144. #     ÿÑÿø
  145. ^##¡¶@ªª \ÿÿ /
  146. ÿÜÿÜÔ"
  147.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*3)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  148. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  149. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  150. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  151. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  152. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  153. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(    Ê    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  154. √°"ó•ó• ˘
  155.  °# øh
  156. n°#
  157. ÿÜÿÜnÔ, Palatino
  158. .+B    Oshape's syle object as well as its style list to determine the size, form, and * Rposition of the glyph outlines; those outlines are then used to clip drawing. The * syle list cannot have ,:H
  159. Letter Gothic:H
  160. )`nil 
  161. ¸)6entries. A style object referenced by the glyph shape (-BScannot be complex ‹ that is, it cannot have a cap, join, dash, pattern, text face, * Nfont variation, tag list, or any of the properties used only by layout shapes.
  162. (tERRORS, WARNINGS, AND NOTICES
  163. +BErrors:H
  164. *
  165. out_of_memory* shape_is_nil33ÿÿ
  166. (Ø0Addenda to QuickDraw GX Printing Extensions and *Driversªª,     Helvetica
  167. * PostScript Render Options+$       :H
  168. )gxNoIllegalEPSOperator
  169. 4)j and :H
  170. 4)gxEPSTargetOption
  171. â)Q# flag have been added to PostScript(0    )$           Render Options.:H
  172. +enum* {+
  173. gxNeedsHexOption)t
  174. = 0x00000001,)æ    (zVgxNeedsCommentsOption)Ω
  175. = 0x00000002,(≥VgxBoundingBoxesOption)Ω
  176. = 0x00000004,(⁄VgxPortablePostScriptOption)Ω
  177. = 0x00000008,(˘VgxUseLevel2ColorOption)Ω
  178. = 0x00000080,(¢VgxNoEPSIllegalOperators)Ω
  179. = 0x00000100,(¬VgxEPSTargetOption)Ω= gxNoEPSIllegalOperators + +
  180. gxNeedsCommentsOption + *
  181. gxBoundingBoxesOption(ÊC};*"'typedef long gxPostScriptRenderOptions;
  182. (%$!            Constant descriptions:H
  183. +gxNoEPSIllegalOperators
  184. )o8 The driver should only emit operators that are allowed + 8by Encapsulated PostScript specifications (Version 3.0).:H
  185. (gCgxEPSTargetOption
  186. )q8The driver should issue PostScript intended for EPS use. ‡Œ
  187. °##
  188. ÿÜÿÜÔ
  189. (
  190. #     ÿÑÿø
  191. ^##¡¶@ªª \ÿÿ /
  192. ÿÜÿÜÔ"
  193.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*4)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  194. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  195. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  196. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  197. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  198. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  199. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(‚    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  200. √°"ó•ó•
  201.  
  202.  
  203.   ¨°# õà
  204. n°#
  205. ÿÜÿÜnÔ, Palatino
  206. .+B    0For descriptions of other constants, please see )ÎInside Macintosh: QuickDraw GX (BPrinting Extensions and Drivers)⁄
  207. , p. 4-27.ªª,     Helvetica
  208. (EGXSetupPageImageData message
  209. +B
  210. QuickDraw GX sends the ,:H
  211. Letter Gothic:H
  212. )sGXSetupPageImageData
  213. ˘)` message to indicate the final (^BMformat, page shape, and imaging data for any given page. The message is sent * #once for every page, just prior to :H
  214. )ΔgxStartSendPage
  215. ‚)H . You may wish to override this (vBRmessage in order to determine the final characteristics of the data which will be * *sent to the printer. Your override of the :H
  216. )“GXSetupPageImageData
  217. ˘)` message must (⁄B match the following declaration::H
  218. +@OSErr MySetupPageImageData(gxFormat theFormat, gxShape thePage, +˚ void *imageData);(ÖC    theFormat
  219. )CThe format object for the page.:H
  220. (îCthePage
  221. )CA reference to the page shape.:H
  222. (C    imageData
  223. )CAA pointer to imaging-specific data for initializing the printing * device.(*Cfunction result)CAn error code. The value :H
  224. )pnoErr
  225. ∫)" indicates that the operation was (6∫ successful.
  226. (_SPECIAL CONSIDERATIONS
  227. +BYou never send the :H
  228. )VGXSetupPageImageData
  229. ˘)` message yourself.(™BThis message is )Hnot)& a device communications time message.(„B-Overrides should always forward this message.
  230. (π RESULT CODES:H+CgxSegmentLoadFailedErr
  231. 4)j ),A required code segment could not be found, * *or there was not enough memory to load it.:H
  232. (öCgxPrUserAbortErr
  233. )qThe user has canceled printing.ªª
  234. (&$GXPostScriptEjectPendingPage message
  235. +B
  236. QuickDraw GX sends the :H
  237. )sGXPostScriptEjectPendingPage
  238. )Ω message to check if there (?BKis a previously imaged page waiting to be ejected. If so, it will send the :H
  239. * gxPostScriptEjectPage
  240. f)e- message for that page. Your override of the :H
  241. (WBGXPostScriptEjectPendingPage
  242. )Ω. message must match the following declaration: ‡Œ
  243. °##
  244. ÿÜÿÜÔ
  245. (
  246. #     ÿÑÿø
  247. ^##¡¶@ªª \ÿÿ /
  248. ÿÜÿÜÔ"
  249.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*5)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  250. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  251. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  252. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  253. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  254. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  255. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(
  256. ”    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  257. √°"ó•ó• ¨
  258. ¨0°# óX
  259. n°#
  260. ÿÜÿÜnÔ,:H
  261. Letter Gothic:H
  262. .+C    ;OSErr MyPostScriptEjectPendingPage(Boolean *pageWasEjected)**pageWasEjected, Palatino
  263. )q6A pointer to a Boolean value. On return, the value is * /true if a page was ejected and false otherwise.(KCfunction result)qAn error code. The value :H
  264. )pnoErr
  265. ∫) indicates that the (W´operation was successful.
  266. (• DESCRIPTION
  267. +BKYou can override this message to implement your own page handling. If your * Udriver is going to display a manual feed alert, it is usually desirable to eject the * Gprevious page before asking the user to insert the next sheet of paper.
  268. (ÑSPECIAL CONSIDERATIONS
  269. +B-Overrides should always forward this message.
  270. (
  271. RESULT CODES:H+CgxSegmentLoadFailedErr
  272. )q9A required code segment could not be found, or there was * not enough memory to load it.:H
  273. (DCgxPrUserAbortErr
  274. )qThe user has canceled printing.ªª,     Helvetica
  275. (tGXHandleAltDestination message
  276. +B
  277. QuickDraw GX sends the :H
  278. )sGXHandleAltDestination
  279. 4)j message when a destination (ŸBIother than "Print" is selected in the Print dialog. Your override of the :H
  280. * GXHandleAltDestination
  281. 4)j. message must match the following declaration::H
  282. (·C5OSErr MyGXHandleAltDestination (Boolean *userCancels)* *userCancels
  283. )MF                A pointer to a Boolean value. On return, the value is +$ true if the user cancels.(ùCfunction result)MAn error code. The value :H
  284. )pnoErr
  285. ∫) indicates that the (´operation was successful.
  286. (. DESCRIPTION
  287. +BHThis message is sent when the destination pop-up in the Print dialog is * Ssomething other than Print. For instance, currently, if a user selects File in the * QPrint dialog, the Print button changes to Save. If you have a FAX driver and you * Qwant the Print dialog to be more user-friendly, you simply override this message  ‡Œ
  288. °##
  289. ÿÜÿÜÔ
  290. (
  291. #     ÿÑÿø
  292. ^##¡¶@ªª \ÿÿ /
  293. ÿÜÿÜÔ"
  294.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*6)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  295. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  296. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  297. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  298. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  299. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  300. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(    â    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  301. √°"ó•ó• 0
  302. 0¸°# ›‹
  303. n°#
  304. ÿÜÿÜnÔ, Palatino
  305. .+B    Qto add your destination (e.g.,  TheFax) and to change the Save button to FAX for * example.
  306. (>SPECIAL CONSIDERATIONS
  307. +BLThe override should check the gxFileFormatTag in the job collection. If the * OfileFormatName is an alternate destination, the driver or extension can either * Ldisplay its own dialog to get more information from the user or forward the * /message for the default 'Standard File' dialog.*$KIn order to change the destination, you must have an alternate destination * R('dsta') resource declared. For more information on the 'dsta' resource, continue * reading this document.
  308. (Ò RESULT CODES,:H
  309. Letter Gothic:H+CgxSegmentLoadFailedErr
  310. )q9A required code segment could not be found, or there was * not enough memory to load it.:H
  311. (CgxPrUserAbortErr
  312. )qThe user has canceled printing.ªª,     Helvetica
  313. (>+The Alternate Destination ('dsta') Resource
  314. +B
  315. The alternate destination,    Geneva)u )(':H
  316. )dsta
  317. ¸)') resource, of type¸)R 
  318.     (WBgxDestinationAdditionType
  319. )Œ., allows a driver or application to specify a (cBLdestination to be added to the destination pop-up menu in the Print dialog. * CFigure 1 shows the structure of the alternate destination resource.
  320.     *,Figure 1  The alternate destination resource:H
  321. +≥destination name
  322. )q<The Pascal string name to show in the print dialog pop-     (∫up menu.:H
  323. ()C button text
  324. )M=The Pascal string name to show in the "OK" button when the   (5∫?user selects the destination name from above in the pop-up menu(5œ.ªª
  325. (e,The Custom Halftone Matrix ('dmat') Resource ‡Œ
  326. °##
  327. ÿÜÿÜÔ
  328. (
  329. #     ÿÑÿø
  330. ^##¡¶@ªª \ÿÿ /
  331. ÿÜÿÜÔ"
  332.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*7)  of  13 o
  333. √°"t¡¶
  334. ‘FáV˘™lqkHH≥D€ÿÿÿÿÿÿqk‘FáV™™™™™™™™™™™™™™™Ëè¥üÇ™Ë襇ûÏ*™Ë‡ø÷¥‡flflflflflÚ%™Æø˚üflflflÛ-™Èflflfl‡fl¡‡üÙ+™Éûüfl¢‡    ùÚ6™Éfl‡‡¢‡    flflÛ.™Éüfl¢ü‡flflflÚ™Èflflüflfl˙Ì ™™ÍË™™™™™™™™™™™™™™™™™™™™™™™™™™™Ì˜´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´™Ì˙îÉ™ÌÒÉïÊ™ÌÒÉìÊ*™Ìé‡fl
  335. ‡ËíÉ,™ÌêÉîÈ*™ÌêüÉïÇ-™ÌêüÌï‡Ê&™Ìéflfl‡flË´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´ ™Ì˙´™Ì˜´™Í˜“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“-™ÍñóüñüÖ†øüé ™Íñóë‹Óûé~™Íóflfl‡fl‡flfl‡‡fl‡flù‡flïfl‡‡fl‡ü›Ω™Ñflô üûflflflûfl    úflfl ïfl‡‡flfl‡ñ∑™Ó‡ô‡flflûfl ûfl    ú‡î
  336. úflfl‡‡ñ√™Õûôùflflflfl    ú‡î
  337. úflfl‡î|™Öúóflflflfl‡‡flflflfl‡‡flúflflflíflflú‡flfl‡üflñ™◊ù˙“™◊ø˙“™Ø÷˙“™Ø÷˙“ó Êö˙“*óƇflüüñÊö˙“#󯇸ëËö˙“oôflfl‡ç‡flflflfl‡fl‡flflflflfläõ˙“zôfl    flflø‡øfl
  338. ‡‡ûfl
  339. fl fläõ˙“eôflflüü臇ûfl
  340. flflü‡fläõ˜“jõflüü燇flfl
  341. flü‡flãõ˜“_õflüûflåflflflfl‡ü‡‡    flüüflflfläõ˙“fi¢âõ˙“† áõ˙“™Úö˙“$™Ùöõöüëñà“$™Ùöõöüëñà“N™Ø÷õfl‡‡flø‡fl    ‡âÜøüêK™Ø÷õflü‡ø‡‡àÒûêi™◊øõflü‡ø‡‡fl‡àïflfl‡flflfl‡üñu™◊ùõfløü‡ãïflfl‡flflfl‡òk™Öúõflfl‡‡fl÷flfl‡âî ú fl‡‡ò8™Õû˙îflú fl‡ï2™Ó‡˙í‡flúflflfl‡üflò™Ñfl˙“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“ ™Í˙“™Í˜“™™™™™™™™™™™™™™™™™™™™ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  342. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  343. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  344. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  345. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  346. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  347. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(p    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  348. √°"ó•ó• ¸
  349. ¸@°# îH
  350. n°#
  351. ÿÜÿÜnÔ, Palatino
  352. .+B    The custom halftone matrix,    Geneva)} )(',:H
  353. Letter Gothic:H
  354. )dmaê)t
  355. ¸) ') resource¸)-    , of type¸)% :H
  356. ¸)gxCustomMatrixType
  357. 4)W    , allows (BSa driver or application to specify a custom halftone matrix to be used rather than * one of )Ithe several built-in halftone dot types provided by QuickDraw GX. Figure (-B22 shows the structure of a custom halftone matrix.,     Helvetica
  358.     *-Figure 2  The custom halftone matrix resource:H
  359. +Ìdpix
  360. )MBThe dots per inch in the x direction. This is a fixed point value.:H
  361. (#Cdpiy
  362. )MBThe dots per inch in the y direction. This is a fixed point value.:H
  363. (;Cwidth
  364. )MThe width of the matrix.:H
  365. (SCheight
  366. )MThe height of the matrix.:H
  367. (kC brick offset
  368. )MThe tile shift.(}BUEach entry in the samples array is for a matrix that outlines a specific tile shift. *MIn order to make use of this resource, you must set the dither type of your ':H
  369. (∂—rdip
  370. ¸)' (˝B resource to :H
  371. )1 gxCustomDot
  372. Z)5.(–BFor more information on the ':H
  373. )≠rdip
  374. ¸)' resource, please see ¸)^Inside Macintosh: (’B,QuickDraw GX Printing Extensions and Drivers)Õ
  375. , p. 6-66.ªª
  376. (é-The Manual Feed Preferences ('mfpr') Resource
  377. +B
  378. The manual feed preferences (':H
  379. )…mfpr
  380. ¸)') resource, of type :H
  381. (BgxManualFeedAlertPrefsType
  382. l)}2, allows the disabling of manual feed alerts on a (B+desktop printer. This resource is optional.*EFigure 3 shows the structure of the manual feed preferences resource. ‡Œ
  383. °##
  384. ÿÜÿÜÔ
  385. (
  386. #     ÿÑÿø
  387. ^##¡¶@ªª \ÿÿ /
  388. ÿÜÿÜÔ"
  389.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*8)  of  13 o
  390. √°"t¡¶
  391. Tsá/˘•üπûHH≥D€ÿÿÿÿÿÿπûTsá/™∑™∑™∑™∑™∑™∑™∑™∑™∑ıè¥üäı襇ûì(ıü󇥇flflflflfl÷#˘ó üflflflø,˚flflfl‡¢‡üö,˝ flfl ‡    ù÷3˝fl ‡    flflø.˝fl£ü‡flflfl÷˚flfl‡˙é    ™ è™∑™∑™∑™∑™∑™∑™∑™∑™∑™∑™∑™∑™∑§˜É
  392. §˙É
  393. §˙É
  394. §˙É
  395. §˙É
  396. §˙É
  397. §˙É
  398. §˙É
  399. §˙ɧ˙åæ§îù¶ææ§î–çæ&§›flflflfl≤èæ$§ñ    fl‡∏èüç#§ñ    flü∏åæ$§ñ    fl‡∏åæ§›flfl‡fl≤ɧë°É§ë°É
  400. §˙É
  401. §˙É
  402. §˙É
  403. §˙É
  404. §˙ɧ˜É§˜É
  405. §˙É
  406. §˙É
  407. §˙É
  408. §˙É
  409. §˙É
  410. §˙ɧ˙åæ§îù¶ææ§î–çæ&§›flflflfl≤èæ&§ñ    flfl≤èüç%§ñ    fl‡≤åæ$§ñ    fl‡∏åæ§›flfl‡‡πɧëøπɧë÷»É
  411. §˙É
  412. §˙É
  413. §˙É
  414. §˙É
  415. §˙É
  416. §˙É
  417. §˙ɧ˜Éœ˜Ê
  418. œ˙Ê
  419. œ˙Ê
  420. œ˙Ê
  421. œ˙Êœëûfl‡ÀÊœäfl‡ÀÊ)œóflflflfl‡flÂææ,œófl‡fl‡Ãçæ-œó‡fl‡Ãèæ-œòüflÃéæ'œòüflfl‡Ãéüçœ˙ææœ˙ææ
  422. œ˙Ê
  423. œ˙Ê
  424. œ˙Ê
  425. œ˙Ê
  426. œ˙Ê
  427. œ˙Ê
  428. œ˙Ê
  429. œ˙Ê
  430. œ˙Ê
  431. œ˙ʧˆÊ
  432. §˙É
  433. §˙É
  434. §˙É
  435. §˙É
  436. §˙É
  437. §˙É
  438. §˙É
  439. §˙ɧñö÷ûÈæå§ñëûÈçå+§ñflfl‡‡flflfl‡Êèå2§ñ‡fl    flÈéå-§ñ‡‡fl    flÈéüæ/§ñúfl    flËæå-§ñfl‡‡fl‡Êæå§†≤ɧß∏É
  440. §˙É
  441. §˙É
  442. §˙É
  443. §˙É
  444. §˙É
  445. §˙ɧ˜Éœ˜Ê
  446. œ˙Ê
  447. œ˙Ê
  448. œ˙Ê
  449. œ˙Ê
  450. œ˙Ê
  451. œ˙Ê
  452. œ˙Ê$œòö÷ï‡óéÊ"œòë›üñéçåEœòfl‡‡flùfl‡‡flflfl‡ëèåJœò‡flùflü‡‡flééåCœòúflüøflüü‡fléêåAœòúflüùflüúûìêüæ?œòflú‡flù‡ü‡flflfl‡ëçåœ˙çå
  453. œ˙Ê
  454. œ˙Ê
  455. œ˙Ê
  456. œ˙Ê
  457. œ˙Ê
  458. œ˙Ê
  459. œ˙Ê
  460. œ˙Êœ˜Êœ˜Ê
  461. œ˙Ê
  462. œ˙Ê
  463. œ˙Ê
  464. œ˙Ê
  465. œ˙Êë∏ÛÁÊë∏ÚÁÊ.ë∏ñfl    flfl‡‡‡flÎÊOìflfl‡Öòüfl flflËèåVìfl    flflùäûñflfl‡flÍéæGìflflüüÖïflflùÎææHíflüüÕòflflflfl‡‡flflÍçå)íflüûflÔáºèäÖÔáºéãÕÓ˙釿
  466. œ˙Ê
  467. œ˙Ê
  468. œ˙Ê
  469. œ˙Ê
  470. œ˙Ê
  471. œ˙Ê
  472. œ˙Ê
  473. œ˙Êœ˜Ê™∑™∑™∑™∑™∑™∑™∑ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  474. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  475. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  476. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  477. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  478. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  479. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  480. √°"ó•ó• @
  481. @Ȱ# ëÀ
  482. n°#
  483. ÿÜÿÜnÔ,     Helvetica
  484.     .+B    Figure 3)*$The manual feed preferences resource,:H
  485. Letter Gothic:H
  486. (ŸC
  487. alertFlags, Palatino
  488. )C=A collection of flag values that you can combine together to * Aspecify when manual feed alerts will be shown. The first word is * for a driver's private use.
  489.     (·BTable 2)*2Flags used in the manual feed preferences resource(ÛBConstant)rValue)H Explanation:H
  490. (óC gxShowAlerts
  491. )q0x01)H)Tells GX to show alerts for this desktop * printer:H
  492. (CgxAlertOnPaperChange
  493. )q0x02)H$Tells GX to show alerts only if the * paper type changes(MB0The default settings if no resource is found is :H
  494. )ÈgxDefaultMFeedAlertSettings
  495. :)≠ (YB(:H
  496. )$=gxShowAlerts | gxAlertOnPaperChange
  497. x)–).
  498. (≠SPECIAL CONSIDERATIONS
  499. +BThe :H
  500. )'mfpr'
  501. T) and :H
  502. T)'outp'
  503. ()) resources must be stored in the desktop (ıBprinter )*by sending the :H
  504. )SGX)
  505. WriteDTPData
  506. Ä)9 message. The desktop printer (ªB$is the only place QuickDraw GX looks)‹ for these resources. A (¶B?driver might store these resources when the desktop printer is * created by overriding :H
  507. )xGX)
  508. DefaultDesktopPrinter
  509. )e, forwarding the (ÎBmessage, and then using :H
  510. )—Send_GXWriteDTPData
  511. Ê)[ to write the data.(àBFor more information on :H
  512. )ŒGXDefaultDesktopPrinter
  513. )o and :H
  514. )GXWriteDTPData
  515. F)C, (ìBsee )7Inside Macintosh: QuickDraw GX Printing Extensions and (øBDrivers)*.(
  516. B<See the section "The Desktop Printer Output Characteristics * <('outp') Resource" in this document for more information on :H
  517. * 'outp'. ‡Œ
  518. °##
  519. ÿÜÿÜÔ
  520. (
  521. #     ÿÑÿø
  522. ^##¡¶@ªª \ÿÿ /
  523. ÿÜÿÜÔ"
  524.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*9)  of  13 o
  525. √°"t¡¶
  526. mSí˘•¬H«HH≥D ÿÿÿÿÿÿH«mSí™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õïè¥üãï襇ûë%ï÷ô¥‡flflflflflöåüflflfl÷.ífl‡flfl¡‡üõ0íflfl    ¢‡    ùö3íflflƒ‡    flfl÷+íflflƒü‡flflflöíflflflflˆè á‚çá™ö™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õø˜È
  527. ø˙È
  528. ø˙È
  529. ø˙È
  530. ø˙È
  531. ø˙È
  532. ø˙È
  533. ø˙È
  534. ø˙Èø˙åå øëñ‡‡Íæå øêñ‡üÍçå>ø›‡‡flfl‡üü‡flflfláèå=ø›flflfl    fl‡flflüflfièüæ?øñflfl‡û‡ü‡    flàåå?øñflflüûü‡    üáåå3ø›flfl‡flúüüflflflflàÈøÀÛÈøÂÚÈ
  535. ø˙È
  536. ø˙È
  537. ø˙È
  538. ø˙È
  539. ø˙Èø˜È™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õ™Õÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  540. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  541. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  542. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  543. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  544. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  545. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(
  546. ä    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  547. √°"ó•ó• È
  548. ÈP°# é8
  549. n°#ªª
  550. ÿÜÿÜnÔ,     Helvetica
  551. .* =The Desktop Printer Output Characteristics ('outp' ) Resource, Palatino
  552. +B
  553. ,The Desktop Printer Output Characteristics (,:H
  554. Letter Gothic:H
  555. )Í'outp'
  556. T)) Resource, of type :H
  557. ($BgxDriverOutputType
  558. ü)V>, allows printer drivers to indicate the characteristics of a (0BQdesktop printer's output device. Currently, this resource only indicates whether * Sor not the desktop printer represents an output device that can be configurable to * different paper types.*KFigure 4 shows the structure of the desktop printer output characteristics *     resource.
  559.     *$Figure 4)*3The desktop printer output characteristics resource:H
  560. (C driverFlags
  561. Z)5. )& Available for driver-defined options.:H
  562. (&CoutputSettings
  563. Ä)C. )
  564. =A collection of flag values that you can combine together to * 9specify whether a printer is a device with a paper feed. * Currently predefined with :H
  565. ){gxCanConfigureTrays
  566. Ê)[ or 0.
  567.     (tBTable 3 )*4  Flags used in the manual feed preferences resource(˘BConstant)rValue)$ Explanation:H
  568. (°CgxCanConfigureTrays
  569. )q0x01)$+Desktop printer represents a device with a *
  570. paper feed(ÎBIf no ':H
  571. )outp
  572. ¸)G' resource is found in the desktop printers, QuickDraw GX assumes that (ÚBNthe desktop printer is tray-configurable and will display the manual feed and * paper mismatch alerts.
  573. (SPECIAL CONSIDERATIONS
  574. +BThe :H
  575. )'mfê)pr'
  576. T) and :H
  577. T)'outp'
  578. ()) resources must be stored in the desktop (+Bprinter by sending the :H
  579. )}GXWriteDTPData
  580. Ä)C message. The desktop printer (7B$is the only place QuickDraw GX looks)‹ for these resources. A (CB?driver might store these resources when the desktop printer is * created by overriding :H
  581. )xGXDefaultDesktopPrinter
  582. )o, forwarding the ([Bmessage, and then using :H
  583. )—Send_GXWriteDTPData
  584. Ê)[ to write the data. ‡Œ
  585. °##
  586. ÿÜÿÜÔ(
  587. #     ÿÑÿø
  588. ^##¡¶@ªª \ÿÿ /
  589. ÿÜÿÜÔ"
  590.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*10)  of  13 o
  591. √°"v¡¶
  592. ˜V◊‹˘•¢U¢HH≥D˛ÿÿÿÿÿÿU¢˜V◊‹™ß™ß™ß™ß™ß™ß™ß
  593. óè√óè§üçóó÷§‡ú›ä˛‡flflflflflû/ïfl‡fl£üflflflflü1› ‡€‡flüú/› ‡€‡flùû6›€‡flflflü)ï‡flfl£üüflflflû
  594. ߘí ß˙ì™ß™ß™ß™ß™ß™ß™ß™ß™ß™ß™ß™ßö˜Ô
  595. ö˙Ô
  596. ö˙Ô
  597. ö˙Ô
  598. ö˙Ô
  599. ö˙Ô
  600. ö˙Ôöõøì‡ÌÔöõâüÌÔCö÷fl‡flflflüü‡flflflà›æHöø    ‡flflüfl†ñæFöøúfl‡üü‡    flßòæEöøúflflüüü‡    üàóæ;ö÷flú‡‡flüüüflflflflßóüçöÁÚ›æöÃÙ›æ
  601. ö˙Ô
  602. ö˙Ô
  603. ö˙Ô
  604. ö˙Ô
  605. ö˙Ô
  606. ö˙Ô
  607. ö˙Ô
  608. ö˙Ôö˜Ô
  609. ö˙Ô
  610. ö˙Ô
  611. ö˙Ô
  612. ö˙Ô
  613. ö˙Ô
  614. ö˙Ô
  615. ö˙Ô"öëñëü‡ã›æöëñëüfiñæTö÷fl‡flfl‡ùflflfl‡‡fl‡flflfl÷òæZöø    flfl    fløüflüüfl ôóæWöø    flfl    fl÷fl‡flüüfl    flöóüç[öø    fl
  616. fløû fl    ü÷›æRö÷‡‡fl‡‡úfl‡fl‡‡flflflflflö›æöçÅñÔöçÇ›Ô
  617. ö˙Ô
  618. ö˙Ô
  619. ö˙Ô
  620. ö˙Ô
  621. ö˙Ô
  622. ö˙Ô
  623. ö˙Ôö˜Ô™ß™ß™ß™ß™ß™ßÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  624. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  625. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  626. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  627. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  628. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  629. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(º    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  630. √°"ó•ó• P
  631. Pذ# æ°
  632. n°#
  633. ÿÜÿÜnÔ, Palatino
  634. .+B    For more information on ,:H
  635. Letter Gothic:H
  636. )ŒGXDefaultDesktopPrinter
  637. )o and :H
  638. )GXWriteDTPData
  639. F)C, (Bsee )7Inside Macintosh: QuickDraw GX Printing Extensions and (!BDrivers)*.(3B
  640. See the se)64ction "The Manual Feed Preferences ('mfpr') Resource(3œ" (?Bin thi)#s document for more information on :H
  641. )Ò'N)mfpr∫)'.ªª,     Helvetica
  642. (o%Change Default DTP 'pfpr' Apple Event
  643. +B
  644. QThis Apple Event is used to change the current default desktop printer. In order * 4to use it, you need to send an Apple Event of type ':H
  645. )ßpfpr
  646. ¸)' (not very mnemonic) to (‰B$the printing extension (creator of ':H
  647. )˙pxtn
  648. ¸)(') with the data of the event being the ( BPname of the desktop printer that you want to make the default. A good sample of * Lthis can be found on the Developer CD series: Tool Chest Edition under Tool * #Chest: QuickDraw GX: SetDefaultDTP.ªª*Warning)(: ':H
  649. )pfpr
  650. ¸)2' is currently not a registered part of the Apple (âB
  651. Event Suite. ,
  652.  
  653. Zapf Dingbats
  654. )9s33ÿÿ
  655. ("Addenda to QuickDraw GX Typographyªª
  656. *4GXGetLayoutJustificationGap
  657. +B
  658. You can use the :H
  659. )FGXGetLayoutJustificationGap
  660. :)≠" function to retrieve information (iBLabout the amount of space QuickDraw GX tries to fill when justifying a line.:H
  661. +1Fixed GXGetLayoutJustificationGap(gxShape layout)*layout
  662. )C;A reference to the layout shape whose information you need.(ÕCfunction result)CAThe signed difference between the specified width for the layout * %and the measured (unjustified) width.
  663. (
  664. ERRORS, WARNINGS, AND NOTICES
  665. +BError:H
  666. * shape_is_nilªª
  667. (\ GXGetLayoutJustificationFactors 
  668. +B
  669. You can use the :H
  670. )FGXGetLayoutJustificationFactors
  671. r)" function to retrieve information  ‡Œ
  672. °##
  673. ÿÜÿÜÔ
  674. (
  675. #     ÿÑÿø
  676. ^##¡¶@ªª \ÿÿ /
  677. ÿÜÿÜÔ"
  678.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*11)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  679. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  680. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  681. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  682. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  683. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  684. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(    ø    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  685. √°"ó•ó• Ø
  686. Ø`°# ä(
  687. n°#
  688. ÿÜÿÜnÔ, Palatino
  689. .+B    Iabout how much space is added for different kinds of characters (such as * Ckashida, whitespace, and non-whitespace) when a line is justified. ,:H
  690. Letter Gothic:H
  691. +;void GXGetLayoutJustificationFactors(gxShape layout, Fixed +À constrainedFactors[], Fixed * unconstrainedFactors[])(iClayout
  692. )C;A reference to the layout shape whose information you need.:H
  693. (™CconstrainedFactors
  694. ü)V:. An array of Fixed values. On return, the array contains (Ÿ∫<factors that represent the portions of available padding by *
  695. priority (:H
  696. )+gxWhiteSpacePriority
  697. ˘)`$,..) that the layout ended up using (¥∫in order to justify the line:H
  698. (∏CunconstrainedFactors
  699. ˘)`:. An array of Fixed values. On return, the array contains (É∫>factors that represent the characters that were designated as * #being able to absorb unlimited gap.(Cfunction result)CAThe signed difference between the specified width for the layout * %and the measured (unjustified) width.
  700. (:ERRORS, WARNINGS, AND NOTICES
  701. +BError:H
  702. * shape_is_nilªª,     Helvetica
  703. (‘GXGetFontDefaultFeatures
  704. +B
  705. You can use the :H
  706. )FGXGetFontDefaultFeatures
  707. ‹)s( function to retrieve information about (¥B2which layout features in a font happen by default.:H
  708. +Elong GXGetFontDefaultFeatures(gxFont fontID, gxRunFeature features[])*fontID
  709. )C3A reference to the font whose information you need.:H
  710. (ùCfeatures
  711. ›)& )2On return, an array of the features for this font.()Cfunction result)CCA list of the feature type/selector pairs that correspond to those * 2features the font designates as default behaviors.
  712. (^ERRORS, WARNINGS, AND NOTICES ‡Œ
  713. °##
  714. ÿÜÿÜÔ
  715. (
  716. #     ÿÑÿø
  717. ^##¡¶@ªª \ÿÿ /
  718. ÿÜÿÜÔ"
  719.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*12)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  720. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  721. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  722. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  723. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  724. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  725. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(        E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?ÿ ÿÿÿÿ(Ú ÿÅÿ◊
  726. √°"ó•ó• `
  727. ` è°# á 
  728. n°#
  729. ÿÜÿÜnÔ, Palatino
  730. .+B    Errors,:H
  731. Letter Gothic:H
  732. *
  733. out_of_memory*internal_font_error*illegal_font_parameterªª,     Helvetica
  734. *$Acknowledgments
  735. *Thank)(s to Dave Bice, Tom Dowdy, Dave Hersey, )ÁGuillermo Ortiz and Harita (xBPatel) . ‡Œ
  736. °##
  737. ÿÜÿÜÔ
  738. (
  739. #     ÿÑÿø
  740. ^##¡¶@ªª \ÿÿ /
  741. ÿÜÿÜÔ"
  742.     + _Technote 1028       ///          Release 1.0       © 1996   Apple Computer, Inc.      ///      )ß2/29/96)        ///          Page )*13)  of  13ÿ•'/ Apple Computer Helvetica Regular(B•B∞B…É+ÈapplRGB mntrappl®Èy⁄•“ô0Æ√¸(flWJÈXı›444.·≈˛ÊS     D
  743. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  744. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  745. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  746. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿ.·≈˛ÊS     D
  747. jÑ‹§Δ#M'8*è/.3˛8>=A|F¡KîQbVs\<b-hKnŒtZzî™°√˙∂ªˆ$ˇ≥¥
  748. ¬”“π»’ÃÖÌÔΩÜ<ä÷íÒöÕÿÿApple 13" RGB Standard)Fî*#-pictÁÚ(ä    E  hB•$B≠B™(B•B∞)Fî*Q@@-cnfoÿù-cnfoŸ¿C™?
  749. ∫"∫›∫@∫)X∫6Δ∫Bø∫\î∫w|∫Ωæ∫˛&∫¨€∫´2∫’˛
  750.